package system.servlet;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import system.report.ReportYKProductMonth;

public class ReportServletForInfo extends HttpServlet{

	protected void doPost(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		ReportYKProductMonth report = new ReportYKProductMonth();
		report.insertDataByReportYKProductMonth();
		req.getRequestDispatcher("servlet/Srv?action_code=listReportYKProductMonth").forward(req, resp);
	}
	
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		
		this.doPost(req, resp);
	}
}
